// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_DOI
// * CreateDate    : 2014-06-05 18:30:07
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:07
// * LastChanger   : 2014-06-05 18:30:07
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvDoiTable : TableInfo
    {
		public const string C_TableName = "INV_DOI";
		
		public const string C_ID = "ID";
		public const string C_DO_ID = "DO_ID";
		public const string C_WH_ID = "WH_ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_QTY = "QTY";
		public const string C_WH_ID_TO = "WH_ID_TO";
		public const string C_LOCATION_ID_TO = "LOCATION_ID_TO";
		
		public InvDoiTable()
        {
            _tableName = "INV_DOI";
        }
		
		protected static InvDoiTable _current;
        public static InvDoiTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvDoiTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_DO_ID, new ColumnInfo(C_DO_ID,"DoId", false, typeof(string)));
            _current.Add(C_WH_ID, new ColumnInfo(C_WH_ID,"WhId", false, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_WH_ID_TO, new ColumnInfo(C_WH_ID_TO,"WhIdTo", false, typeof(string)));
            _current.Add(C_LOCATION_ID_TO, new ColumnInfo(C_LOCATION_ID_TO,"LocationIdTo", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo DO_ID
        {
            get { return this[C_DO_ID]; }
        }
		
		public ColumnInfo WH_ID
        {
            get { return this[C_WH_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo WH_ID_TO
        {
            get { return this[C_WH_ID_TO]; }
        }
		
		public ColumnInfo LOCATION_ID_TO
        {
            get { return this[C_LOCATION_ID_TO]; }
        }
		
		
		
	}
}

